(try_scrolling): Set scroll_max to max of scroll_* args
authorStefan Monnier <monnier@iro.umontreal.ca>
Tue, 14 Nov 2000 18:38:07 +0000 (18:38 +0000)
committerStefan Monnier <monnier@iro.umontreal.ca>
Tue, 14 Nov 2000 18:38:07 +0000 (18:38 +0000)
commit9a1580f6d097821ea90e3920517e55c23256f25c
tree152886cfeced1e88184b8c24a2dd97af57c5d8f2
parent4a4bc6755190431dd3962bcdf2fbde5393b165a4
(try_scrolling): Set scroll_max to max of scroll_* args
so setting scroll-step to 1 doesn't defeat scroll-conservatively.
Set amount_to_scroll to max of dx and scroll_step so that
scroll-conservatively doesn't defeat scroll-step>1.
(syms_of_xdisp): Add a hint in scroll-step's docstring to use
scroll-conservatively for line-at-a-time scrolling.
src/xdisp.c